<%@ page language="java"
	import="java.util.*,com.icss.beans.HotNewsVO,com.icss.beans.DynamicNewsVO,com.icss.daos.DynamicNewsDao,com.icss.daos.HotNewsDao,com.icss.beans.NewsTypeVO,com.icss.beans.PicVO,com.icss.daos.RollPicDao,com.icss.utils.RecordSet,java.math.BigDecimal"
	pageEncoding="utf-8"%>
<%@ page language="java" import="com.icss.daos.FountDao"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

<html>
<head>
<title>镇头燃气</title>
<LINK href="css/css.css" type="text/css" rel="stylesheet" />
<link type="text/css" href="css/index_menu.css" rel="stylesheet" />
<SCRIPT type="text/javascript" src="js/jquery.js"></SCRIPT>
<script type="text/javascript" src="js/menu.js"></script>
<SCRIPT type=text/javascript>
		
$(function(){
	$('.tab li').css('cursor','pointer').each(function(i){
		$(this).mouseover(function(){
			$('.tab li').removeClass('style');
			$(this).addClass('style');
			$('.tabContent').hide();
			$('.tabContent').eq(i).show();
			$('.morelink').hide();
			$('.morelink').eq(i).show();
		});
	});
});

</SCRIPT>

</head>

<body onload="deiBackLik()">
<table  width="950" align="center"><tr><td>
<TABLE width="950" align="center" border="0" >
	<TBODY align="center" >
		<TR vAlign=top>
			<TD style="WIDTH: 50%"></TD>
			<TD><!--头部 -->
			<DIV id="header">
			<h2 class="top">ztrq</h2>
			</DIV>
			<div id="menu" style="margin-top: 0px">
			<ul class="menu">
				<li><a href="/ztrq/index.jsp"><span>&nbsp;&nbsp;&nbsp;首&nbsp;&nbsp;页</span>
				</a></li>
				<li><a href="HotNewsServlet?action=second&typeID=1"><span>新闻中心</span>
				</a></li>
				<li><a href="TrainStrengthServlet?action=showTrainStrength"><span>业务介绍</span>
				</a></li>
				<li><a href="/ztrq/coreCourse?action=forward_list"><span>关于我们</span>
				</a></li>
				<li><a href="ConsultationServlet?action=forwardConsultation"><span>咨询留言</span>
				</a></li>
				<li><a href="appercetion?action=forward_list"><span>安全事项
				</span> </a></li>

				<li><a href="jobInfo?action=list_farward"><span>招聘信息</span>
				</a></li>
				<li><a href="AboutUsServlet?action=aboutUS"><span>联系我们</span>
				</a></li>
					
				<li><a href="page/login.html"><span>办公系统</span> </a></li>
				<li>&nbsp;</li>
				<li>&nbsp;</li>
				<li>&nbsp;</li>
				<li>&nbsp;</li>
			</ul>
			</div>
			<DIV id="header" style="margin-top: 0px">
			<h1 style="margin-top: 0px">ztrq</h1>
			</DIV>
			<!--头部模块结束 --> <!--正文-->
			<DIV id=main><!--热点新闻 -->
			<DIV class="hotnewsTop">
			<DIV class="hotnewsBottom" style="height: 300px">
			<DIV class="hotnews" style="height: 300px">
			<H2>热点关注<A class="more morelink" href="#" target=_blank> <IMG
				alt=更多 src="img/index/more.gif"> </A><A class="more morelink"
				style="DISPLAY: none"
				href="<%=basePath%>jobInfo?action=list_farward" target=_self> <IMG
				alt=更多 src="img/index/more.gif"> </A></H2>
			<UL class=tab>
				<LI class=style>最新动态</LI>
				<LI>今日气价</LI>
			</UL>
			<!--最新动态 -->
			<DIV class=tabContent>
			<DIV class=textPic style="BORDER-TOP: #ccc 1px solid; height: 100px"><IMG
				src="img/index/zuixindongtai.jpg">

			<P><b>镇头燃气</b><br/>&nbsp;&nbsp;&nbsp;&nbsp;诚信服务 安全放心 品质 至上 共创辉煌邀您一同把握最新的燃气 动态，关注燃气生活！</P>
			</DIV>
			<UL class=list>
				<%
					DynamicNewsDao dndao = new DynamicNewsDao();
					List<DynamicNewsVO> dnlist = dndao.getIndexNews();
					for (int i = 0; i < dnlist.size(); i++) {
						DynamicNewsVO dnvo = dnlist.get(i);
				%>
				<LI><SPAN>[<%=dnvo.getPublishTime()%>]</SPAN><A
					href="DynamicNewsServlet?action=displayNews&newsID=<%=dnvo.getDynamicNewsID()%>"><%=dnvo.getDynamicNewsTitle()%></A>
				<%
					}
				%>
				</LI>
			</UL>
			</DIV>
			<DIV class=tabContent style="DISPLAY: none">
			<DIV class=textPic style="BORDER-TOP: #ccc 1px solid"><A
				href="<%=basePath%>jobInfo?action=list_farward"><IMG
				src="img/index/jinriqijia.jpg"> </A>


			<p><b>今日气价</b><br />
			&nbsp;&nbsp;&nbsp;&nbsp;
			镇头燃气，依托高效的管理和快速的配送，为广大客户提供高品质的燃气产品，用最实惠的价格助推新农村的建设。</p>
			</DIV>

			<jsp:useBean id="jobInfoDao" class="com.icss.daos.JobInfoDao"></jsp:useBean>
			<%
				RecordSet jobSet = jobInfoDao.getInfoForIndex();
				pageContext.setAttribute("jobs", jobSet);
			%>
			<UL class=list>
				<li>液化石油气 97元/瓶 15KG</li>
				<li>优质丁烷气 7400元/吨&nbsp; 一吨起</li>
				<li>优质丙烷气 7800元/吨&nbsp; 一吨起</li>
				<li>送气费 免费 送气热线：07318157861</li>
			</UL>
			</DIV>
			</DIV>
			</DIV>
			</DIV>
			<!--行业资讯  -->
			<DIV class=infoTop style="height: 320px">
			<DIV class=infoBottom style="height: 300px">
			<DIV class=info style="height: 300px;text-align: left;">
			<H2>行业资讯 <A class=more
				href="HotNewsServlet?action=second&typeID=1"><IMG alt=更多
				src="img/index/more.gif"> </A></H2>
			<%
				HotNewsDao hndao = new HotNewsDao();

				List<NewsTypeVO> NewsTypelist = hndao.getType();
				for (int i = 0; i < NewsTypelist.size(); i++) {
					NewsTypeVO NTVO = NewsTypelist.get(i);
			%>
			<DIV class=textPic style="BORDER-TOP: #ccc 1px solid;text-align: left;height: 280px;width: 250"><IMG
				alt="<%=NTVO.getTypeName()%>" src="img/index/img<%=i%>.jpg"> 
			<H3><%=NTVO.getTypeName()%>
			</H3>
			<P>镇头燃气<br>
			&nbsp;&nbsp;&nbsp;&nbsp;长沙市镇头液化气有限 公司成立于1996年10月，在 中国内地燃气市场蓬勃发展、 供应结构不断变化的背景下，
			作为湖南省长沙地区的城市液化气终端运营商， 镇头燃气以瓶装液化气、液化气瓶组管线等方 式向工业、商业客户及居民客户提供高品质的
			燃气产品，服务近百万民众。<br> 
			我们拥有：庞大的储存能力 高效的配送体系 助推新农村建设，努力发展工业燃料气及原 料气市场。</P>
			</DIV>
			<%
				}
			%>
			<UL class="list" style="float: left;width: 240px;margin: 0px;">
				<%
					List<HotNewsVO> list = hndao.getNews();
					for (int i = 0; i < list.size(); i++) {
						HotNewsVO vo = list.get(i);
				%>
				<LI><A
					href="HotNewsServlet?action=displayNews&newsID=<%=vo.getNewsID()%>"><%=vo.getNewsTitle()%></A>
				<%
					}
				%>
				</LI>
			</UL>
			</DIV>
			</DIV>
			</DIV>
			<jsp:useBean id="coreCourseDao"
				class="com.icss.daos.CoreCourseDao"></jsp:useBean> <%
 	RecordSet rs = coreCourseDao.getCourseForIndex();
 	pageContext.setAttribute("rs", rs);
 %>
			<DIV class="helpTop">
			<DIV class="helpBottom">
			<DIV class="help">
			<H2><SPAN>公司简介</SPAN> <A class=more
				href="<%=basePath%>coreCourse?action=forward_list" target=_self><IMG
				alt=更多 src="img/index/more.gif"> </A></H2>

			<c:forEach items="${rs}" var="etcCourse" varStatus="status">

				<DIV class="help${status.count}">


				<H3>${etcCourse.COURSENAME }</H3>
				<H4>简介</H4>
				<P>${etcCourse.COURSEREMARK } <a
					href="<%=basePath%>coreCourse?action=showDetail&courseID=${etcCourse.COURSEID }">
				<font color="red"> 详情</font> </a></P>
				</DIV>


			</c:forEach></DIV>



			</DIV>
			</DIV>
			</DIV>
			<!--干什么结束 --> <!--  -->
			<TABLE style="MARGIN: 10px auto" border=0 cellSpacing=0 cellPadding=0
				width="100%" align=center>
				<TBODY>
					<TR>
						<TD height=140 background="img/index/logo2.jpg" width=100%>
					</TR>
				</TBODY>
			</TABLE>


			<TABLE border=0 cellSpacing=1 cellPadding=0 width="100%"
				bgColor=#dbdfe2 align=center>
				<TBODY>
					<TR>
						<TD bgColor=#f4f4f4 height=33>
						<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%"
							align=center>
							<TBODY>
								<TR>
									<TD width="17%" align=middle><IMG
										src="img/index/youqinglink.jpg" width=152 height=23></TD>
									<TD width="1%"><IMG src="img/index/15288560.jpg" width=1
										height=23></TD>
									<TD width="71%">
									<div class="indexmiddle">
									<div class="indexlink">[ <a
										href="http://www.chinagasholdings.com/" target="_blank"
										title="中国燃气">中国燃气</a>]&nbsp;&nbsp; [ <a
										href="http://www.gasinfo.com.cn/" target="_blank"
										title="中国燃气资讯网">中国燃气资讯网</a>]&nbsp;&nbsp; 
										 [ <a
										href="http://www.chinagasholdings.com/" target="_blank"
										title="中国燃气安全网">中国燃气安全网</a>]&nbsp;&nbsp; [ <a
										href="http://www.ccgas.net/ " target="_blank" title="中国燃气设备网">中国燃气设备网</a>]&nbsp;&nbsp;
									[ <a href="http://www.gasshow.com/" target="_blank"
										title="中国燃气行业门户网">中国燃气行业门户网</a>]&nbsp;&nbsp;</div>
									</div>
									</TD>
									<TD width="11%"><A class="slans" href="#top">返回顶部↑↑</A></TD>
								</TR>
							</TBODY>
						</TABLE>
						</TD>
					</TR>
				</TBODY>
			</TABLE>
			<!--  --> <!-- 滚动条开始-->
			<div class="gundongtiaoTop">
			<DIV class="gundongtiaoBottom">

			<div id='demo' class="demo">
					<marquee scrollAmount=6 width=100% behavior="scroll">
							<%
								RollPicDao rpdao = new RollPicDao();
								List<PicVO> piclist = rpdao.getIndexPic();
								for (int i = 0; i < piclist.size(); i++) {
									PicVO picvo = piclist.get(i);
							%>
							<a
								href="img/index/gundongtiao/<%=picvo.getPicName()%>"
								target="_blank"> <img
								src="img/index/gundongtiao/<%=picvo.getPicName()%>"
								style="width: 200px; height: 120px; border-style: none;" /> </a>

							<%
								}
							%>

					</marquee>
			</div>

			</div>
			</div> <!-- 滚动条结束--> <!--正文结束 --> <!--尾部-->
			<DIV id="copyright">
			<P><font color="red">历史访问次数：<%=new FountDao().getAllCount() %>&nbsp;今天访问次数：<%=new FountDao().getTodayFcount() %></font></P>
			<P>联系电话：15874972612&nbsp;&nbsp;&nbsp;咨询QQ：84955188<A
				href="tencent://message/?uin=84955188&amp;Site=rzhh.com.cn&amp;Menu=yes"><IMG
				style="BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none"
				alt=点击这里通过QQ给我发消息 src="img/QQ_online.gif"></A></P>
			<P>© 2011 镇头燃气 安全燃气专家 版权所有 湘ICP备08130115号</P>

			</DIV>
			</TD>
			<TD style="WIDTH: 50%">&nbsp;</TD>
		</TR>
	</TBODY>
</TABLE></td></tr></table>
</body>
</html>
